#pragma once
#ifndef _DRAW_
#define _DRAW_

#include "rectangle.h"

class Draw {
private:
    SDL_Renderer* rR_;
    static constexpr SDL_Color bg_color_ = {0,0,0};
    static constexpr SDL_Color default_color_ = {255,255,255};
public:
    Draw(SDL_Renderer* rR);
    ~Draw();
    void DrawRect(Rectangle* rect);
    void DrawRect(Rectangle* rect, SDL_Color color);
    void DrawLine(SDL_Point pl, SDL_Point pr);
    void DrawLine(SDL_Point pl, SDL_Point pr, Uint8 r, Uint8 g, Uint8 b);
    void LinkRects(Rectangle* rect_sb, Rectangle* rect_torch);
};

#endif